package cn.iocoder.yudao.module.forward.controller.admin.license.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 授权码分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class LicensePageReqVO extends PageParam {

    @Schema(description = "终端名称", example = "赵六")
    private String clientName;

    @Schema(description = "厂商", example = "24342")
    private Integer firmId;

    @Schema(description = "序列号")
    private String serial;

    @Schema(description = "终端类型", example = "27270")
    private Integer typeId;

    @Schema(description = "是否注册")
    private Boolean registered;

    @Schema(description = "注册时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] registerTime;

    @Schema(description = "终端分组", example = "26659")
    private String groupId;

    @Schema(description = "客户端id", example = "22628")
    private String clientId;

    @Schema(description = "授权码")
    private String license;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}